package com.xq.shop.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

/**
 * @author gaoxiaojin
 */
@Data
public class GoodsTypeVo {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 图片id
     */
    private Integer imageId;

    /**
     * 图片url
     */
    private String imageUrl;

    /**
     * 分类展示名称
     */
    private String displayName;

    /**
     * 分类搜索名称
     */
    private String searchName;

    private Integer mark;

    private Integer level;

    /**
     * python爬取taobao次数
     */
    private Integer searchNum;

    /**
     * 父级id
     */
    private Integer fatherId;

    private List<GoodsTypeVo> children;

}
